package com.zryc.shop.oms.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zryc.shop.oms.entity.OrderReturnApply;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

/**
 * <p>
 * 订单退货申请 服务类
 * </p>
 *
 * @author zhaozhao
 * @since 2024-01-18
 */
public interface IOrderReturnApplyService extends IService<OrderReturnApply> {

    /**
     * 分页查询列表
     *
     * @param pageNum
     * @param pageSize
     * @param id
     * @param status
     * @param createTime
     * @param handleMan
     * @param handleTime
     * @return
     */
    Page<OrderReturnApply> list(Integer pageNum, Integer pageSize, Integer id, Integer status, Date createTime, String handleMan, Date handleTime);

    /**
     * 修改状态
     *
     * @param id
     * @param returnApply
     * @return
     */
    Object updateStatus(Long id, OrderReturnApply returnApply);
}
